package com.shenmazong.serverwebpoem.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author 田不平
 * @project server-web-poem
 * @date 2020/3/23 1:42 PM
 * http://www.shenmazong.com
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("tb_admin")
public class TbAdmin {

    @TableId(value = "id",type = IdType.AUTO)//指定自增策略
    private Integer id;
    private String username;
    private String userpass;
    private String usersalt;
    private String permission;
    private String createtime;
}
